package com.gzy.cs3.model;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户名", example = "Alice")
    private String name;

    @ApiModelProperty(value = "用户ID", example = "1")
    private int id;

    @ApiModelProperty(value = "用户年龄", example = "30")
    private int age;

}
